package com.diandian.backend.dingding.data.dto;

import com.diandian.base.boot.starter.exception.DefaultException;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;

public class DingdingStaffDeleteByIdParamDTO implements Serializable {

	private Long id;
	private String belong;
	private String createUserId;
	private String createUserName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	private String orgId;
	private String orgCode;
	private String updateUserId;
	private String updateUserName;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	private Integer del;
	private String userId;
	private String unionId;
	private String name;
	private String avatar;
	private String stateCode;
	private String mobile;
	private String telephone;
	private String jobNumber;
	private String title;
	private String email;
	private String orgEmail;
	private String workPlace;
	private String remark;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date hiredDate;
	private Integer active;
	private Integer admin;
	private Integer boss;
	private Integer leader;
	private Integer exclusiveAccount;

	public void check() {
		if (id == null || "".equals(id)) {
			throw new DefaultException("id不能为空");
		}
	}

	public Long getId() {
		return id;
	}
	public Long setId(Long id) {
		return this.id = id;
	}
	public String getBelong() {
		return belong;
	}
	public String setBelong(String belong) {
		return this.belong = belong;
	}
	public String getCreateUserId() {
		return createUserId;
	}
	public String setCreateUserId(String createUserId) {
		return this.createUserId = createUserId;
	}
	public String getCreateUserName() {
		return createUserName;
	}
	public String setCreateUserName(String createUserName) {
		return this.createUserName = createUserName;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public Date setCreateTime(Date createTime) {
		return this.createTime = createTime;
	}
	public String getOrgId() {
		return orgId;
	}
	public String setOrgId(String orgId) {
		return this.orgId = orgId;
	}
	public String getOrgCode() {
		return orgCode;
	}
	public String setOrgCode(String orgCode) {
		return this.orgCode = orgCode;
	}
	public String getUpdateUserId() {
		return updateUserId;
	}
	public String setUpdateUserId(String updateUserId) {
		return this.updateUserId = updateUserId;
	}
	public String getUpdateUserName() {
		return updateUserName;
	}
	public String setUpdateUserName(String updateUserName) {
		return this.updateUserName = updateUserName;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public Date setUpdateTime(Date updateTime) {
		return this.updateTime = updateTime;
	}
	public Integer getDel() {
		return del;
	}
	public Integer setDel(Integer del) {
		return this.del = del;
	}
	public String getUserId() {
		return userId;
	}
	public String setUserId(String userId) {
		return this.userId = userId;
	}
	public String getUnionId() {
		return unionId;
	}
	public String setUnionId(String unionId) {
		return this.unionId = unionId;
	}
	public String getName() {
		return name;
	}
	public String setName(String name) {
		return this.name = name;
	}
	public String getAvatar() {
		return avatar;
	}
	public String setAvatar(String avatar) {
		return this.avatar = avatar;
	}
	public String getStateCode() {
		return stateCode;
	}
	public String setStateCode(String stateCode) {
		return this.stateCode = stateCode;
	}
	public String getMobile() {
		return mobile;
	}
	public String setMobile(String mobile) {
		return this.mobile = mobile;
	}
	public String getTelephone() {
		return telephone;
	}
	public String setTelephone(String telephone) {
		return this.telephone = telephone;
	}
	public String getJobNumber() {
		return jobNumber;
	}
	public String setJobNumber(String jobNumber) {
		return this.jobNumber = jobNumber;
	}
	public String getTitle() {
		return title;
	}
	public String setTitle(String title) {
		return this.title = title;
	}
	public String getEmail() {
		return email;
	}
	public String setEmail(String email) {
		return this.email = email;
	}
	public String getOrgEmail() {
		return orgEmail;
	}
	public String setOrgEmail(String orgEmail) {
		return this.orgEmail = orgEmail;
	}
	public String getWorkPlace() {
		return workPlace;
	}
	public String setWorkPlace(String workPlace) {
		return this.workPlace = workPlace;
	}
	public String getRemark() {
		return remark;
	}
	public String setRemark(String remark) {
		return this.remark = remark;
	}
	public Date getHiredDate() {
		return hiredDate;
	}
	public Date setHiredDate(Date hiredDate) {
		return this.hiredDate = hiredDate;
	}
	public Integer getActive() {
		return active;
	}
	public Integer setActive(Integer active) {
		return this.active = active;
	}
	public Integer getAdmin() {
		return admin;
	}
	public Integer setAdmin(Integer admin) {
		return this.admin = admin;
	}
	public Integer getBoss() {
		return boss;
	}
	public Integer setBoss(Integer boss) {
		return this.boss = boss;
	}
	public Integer getLeader() {
		return leader;
	}
	public Integer setLeader(Integer leader) {
		return this.leader = leader;
	}
	public Integer getExclusiveAccount() {
		return exclusiveAccount;
	}
	public Integer setExclusiveAccount(Integer exclusiveAccount) {
		return this.exclusiveAccount = exclusiveAccount;
	}
}
